import {request} from '../utils/request'

export function getCardList(){ 
    return request({
        url: '/card',
        method: 'get'
      })
}

export function deleteWord(data){
    return request({
      url:'/list',
      method:'post',
      data
    })
}

export function addCard(data){
  return request({
    url:'/add',
    method:'post',
    data
  })
}
